package ase.assignment.sts.beans;

import java.util.Date;

public class StockQuoteEntity {
	private int id;
	private Date time;
	private double price;

	public StockQuoteEntity(int stockId) {
		this.id = stockId;
	}

	/**
	 * @return the id
	 */
	private int getId() {
		return id;
	}

	/**
	 * @param time
	 *            the time to set
	 */
	private void setTime(Date time) {
		this.time = time;
	}

	/**
	 * @return the time
	 */
	private Date getTime() {
		return time;
	}

	/**
	 * @param price
	 *            the price to set
	 */
	private void setPrice(double price) {
		this.price = price;
	}

	/**
	 * @return the price
	 */
	private double getPrice() {
		return price;
	}
}
